<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2016/8/16
 * Time: 15:24
 */

namespace app\models;

use Phalcon\Mvc\Model;

class Parts extends Model
{
    public $id;
    public $name;

    public function initialize()
    {
        $this->hasMany('id', 'RobotsParts', 'parts_id');
    }
}